VERSION = 3.0.8_pre1
-# We define _BSD_SOURCE as GNU supports BSD too - which is nice :)
-CDEFS = -D_BSD_SOURCE
-
CFLAGS ?= -O2 -pipe
# Loads of nice flags to ensure our code is good
# have buggy headers from time to time, so you may need to comment this out
#CFLAGS += -Werror
+# We define _BSD_SOURCE as GNU supports BSD too - which is nice :)
+CDEFS = -D_BSD_SOURCE
+
INSTALL ?= install
DESTDIR =
SBINDIR = $(DESTDIR)/sbin
echo '#define VERSION "$(VERSION)"' > version.h
$(dhcpcd_OBJS):
- $(CC) -D_BSD_SOURCE $(CFLAGS) -c $*.c
+ $(CC) $(CDEFS) $(CFLAGS) -c $*.c
all: $(TARGET)