channel-switch: use sys/ioctl.h instead of stropts.h
[rofl0r-MacGeiger.git] / Makefile
blob1e475708d7eec988a4bb477c4030ce66ed6ef879
1 FNAME=macgeiger
3 CFLAGS_OWN=-Wall -D_GNU_SOURCE
4 CFLAGS_DBG=-g3
5 CFLAGS_OPT=-s -Os
7 -include config.mak
9 CFLAGS_RCB_OPT=${CFLAGS_OWN} ${CFLAGS_OPT} ${CFLAGS}
10 CFLAGS_RCB_DBG=${CFLAGS_OWN} ${CFLAGS_DBG} ${CFLAGS}
12 SRCS=$(FNAME).c audio-backend.c channel-switch.c netgui.c
14 all: $(FNAME)
16 $(FNAME): $(SRCS)
17 CFLAGS="${CFLAGS_RCB_DBG} ${CFLAGS}" rcb2 $(RCBFLAGS) $(FNAME).c
19 clean:
20 rm -f *.o
21 rm -f $(FNAME).out
22 rm -f $(FNAME)
23 rm -f *.rcb
25 .PHONY: all clean optimized debug