source: npl/mediabox/lcdproc_edwin/src/clients/lcdproc/Makefile

Last change on this file was c5c522c, checked in by Edwin Eefting <edwin@datux.nl>, 8 years ago

initial commit, transferred from cleaned syn3 svn tree

  • Property mode set to 100644
File size: 916 bytes
Line 
1include ../../Makefile.config
2
3########################################################################
4# You shouldn't need to touch anything below here.
5########################################################################
6
7TARGET = lcdproc
8OBJ = main.o mode.o batt.o chrono.o cpu.o disk.o load.o mem.o net.o
9LIB += -L../../shared -lLCDstuff
10
11
12###################################################################
13# Compilation...
14#
15
16all: $(TARGET)
17
18$(TARGET): $(OBJ) Makefile
19        $(GCC) -s $(MISC) -o $(TARGET) $(OBJ) $(LIB)
20
21%.o: %.c %.h Makefile
22        $(GCC) -c $(MISC) $<
23
24
25##################################################################
26# Installation
27#
28install: $(TARGET)
29        @echo ... lcdproc main client ...
30        install -m 0755 -o root -g root $(TARGET) /usr/local/bin/
31
32
33##################################################################
34# Other stuff...
35#
36clean:
37        rm -f $(OBJ) $(TARGET) *~ core
38
39edit:
40        emacs . &
41
Note: See TracBrowser for help on using the repository browser.