1 # Makefile of hdw-sniff
3 INCLUDEDIR = /usr/include
5 CFLAGS = -DDEBUG -O3 -Wall
8 API_OBJS = network.o event.o input.o display.o audio.o
10 api: links $(API_OBJS)
12 hdw-sniff: $(API_OBJS)
13 $(CC) $(CFLAGS) -o $@ $(API_OBJS) hdw-sniff.c $(LIBS)
17 rm -f $(API_OBJS) {event,input,display,audio,network,list}.{c,h}
21 ln -sf ../api/event/event.{c,h} .
22 ln -sf ../api/input/input.{c,h} .
23 ln -sf ../api/display/display.{c,h} .
24 ln -sf ../api/audio/audio.{c,h} .
25 ln -sf ../api/network/network.{c,h} .
26 ln -sf ../api/list/list.{c,h} .