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:
1.2 KB
|
Line | |
---|
1 | include ../Makefile.config |
---|
2 | |
---|
3 | ######################################################################## |
---|
4 | # You shouldn't need to touch anything below here. |
---|
5 | ######################################################################## |
---|
6 | |
---|
7 | TARGET = LCDd |
---|
8 | DIRS = drivers |
---|
9 | OBJ += sock.o clients.o parse.o client_functions.o client_data.o screen.o \ |
---|
10 | widget.o screenlist.o render.o serverscreens.o main.o input.o \ |
---|
11 | menu.o menus.o |
---|
12 | LIB += drivers/libLCDdrivers.a ../shared/libLCDstuff.a |
---|
13 | |
---|
14 | ifeq ($(IRMAN),1) |
---|
15 | LIB += ../../libirman-0.4.1b/libirman.a |
---|
16 | endif |
---|
17 | |
---|
18 | |
---|
19 | include ../Makefile.config |
---|
20 | |
---|
21 | ################################################################### |
---|
22 | # Compilation... |
---|
23 | # |
---|
24 | #all: $(OBJ) |
---|
25 | all: $(TARGET) |
---|
26 | |
---|
27 | $(TARGET): $(OBJ) $(LIB) Makefile |
---|
28 | $(GCC) -s $(MISC) -o $(TARGET) $(OBJ) $(LIB) |
---|
29 | |
---|
30 | %.o: %.c %.h Makefile |
---|
31 | $(GCC) -c $(MISC) $< |
---|
32 | |
---|
33 | |
---|
34 | ################################################################## |
---|
35 | # Installation |
---|
36 | # |
---|
37 | install: $(TARGET) |
---|
38 | @echo Installing LCD Server... |
---|
39 | install -m 0755 -o root -g root $(TARGET) /usr/local/bin/ |
---|
40 | |
---|
41 | |
---|
42 | ################################################################## |
---|
43 | # Other stuff... |
---|
44 | # |
---|
45 | clean: |
---|
46 | @for i in $(DIRS); do \ |
---|
47 | (cd $$i; [ -f Makefile ] && $(MAKE) $@) \ |
---|
48 | done |
---|
49 | rm -f $(OBJ) $(TARGET) *~ core |
---|
50 | |
---|
51 | edit: |
---|
52 | emacs . & |
---|
Note: See
TracBrowser
for help on using the repository browser.