cfgparser: simplify Makefile a bit
authorFerry Huberts <ferry.huberts@pelagic.nl>
Thu, 2 Jun 2016 17:08:42 +0000 (19:08 +0200)
committerFerry Huberts <ferry.huberts@pelagic.nl>
Thu, 2 Jun 2016 20:06:48 +0000 (22:06 +0200)
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
src/cfgparser/Makefile

index 25f16b9..3c82a06 100644 (file)
@@ -50,18 +50,19 @@ HDRS =
 
 include local.mk
 
+OBJS +=                ../ipcalc.o ../builddata.o ../common/autobuf.o ../lock_file.o
+
 ifeq ($(OS), win32)
 
 LIBNAME ?=     olsrd_cfgparser.dll
 BINNAME ?=     olsrd_cfgparser.exe
-OBJS +=                ../win32/compat.o ../ipcalc.o ../builddata.o ../common/autobuf.o
+OBJS +=                ../win32/compat.o
 
 else
 
 LIBNAME ?=     olsrd_cfgparser.so.0.1
 BINNAME ?=     olsrd_cfgparser
 
-OBJS +=                ../ipcalc.o ../builddata.o ../common/autobuf.o ../lock_file.o
 endif