source: npl/mediabox/lcdproc_edwin/src/server/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: 1.2 KB
Line 
1include ../Makefile.config
2
3########################################################################
4# You shouldn't need to touch anything below here.
5########################################################################
6
7TARGET = LCDd
8DIRS = drivers
9OBJ += 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
12LIB += drivers/libLCDdrivers.a ../shared/libLCDstuff.a
13
14ifeq ($(IRMAN),1)
15  LIB += ../../libirman-0.4.1b/libirman.a
16endif
17
18
19include ../Makefile.config
20
21###################################################################
22# Compilation...
23#
24#all: $(OBJ)
25all: $(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#
37install: $(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#
45clean:
46        @for i in $(DIRS); do \
47                (cd $$i; [ -f Makefile ] && $(MAKE) $@) \
48        done
49        rm -f $(OBJ) $(TARGET) *~ core
50
51edit:
52        emacs . &
Note: See TracBrowser for help on using the repository browser.