]> www.hackdaworld.org Git - my-code/ivac.git/blob - src/Makefile
major bugfixes, still need clean up + improvements, not to mention speex and video...
[my-code/ivac.git] / src / Makefile
1 # Makefile of ivac
2
3 INCLUDEDIR = /usr/include
4
5 CFLAGS = -O3 -Wall
6 LIBS = -lncurses
7
8 OBJS = network.o event.o input.o display.o audio.o
9
10 ivac: links $(OBJS)
11         $(CC) $(CFLAGS) -o $@ $(OBJS) ivac.c $(LIBS)
12 all: links ivac
13
14 clean:
15         rm -f $(OBJS) ivac
16
17 links:
18         ln -sf ../../api/event/event.{c,h} .
19         ln -sf ../../api/input/input.{c,h} .
20         ln -sf ../../api/display/display.{c,h} .
21         ln -sf ../../api/audio/audio.{c,h} .
22         ln -sf ../../api/network/network.{c,h} .
23         ln -sf ../../api/list/list.{c,h} .
24
25 remake: clean all