From 8900b3c75142c9701657f20b307d70f106cc3697 Mon Sep 17 00:00:00 2001 From: FreeArtMan Date: Mon, 21 Dec 2015 18:32:50 +0000 Subject: Add NetBSD support files and config_bsd.h to be compatible with NetBSD --- Makefile | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 01b3fd5..48e9010 100644 --- a/Makefile +++ b/Makefile @@ -2,6 +2,7 @@ PROJECT=radiola CC=gcc CFLAGS= LDFLAGS= +LDFLAGS_BSD= CLEAN= BUILD_DIR=build/ @@ -41,6 +42,10 @@ menuconfig: kconf2h ./mconf Kconfig tools/kconf2h/kconf2h .config config/config_linux.h -bsd: kconf2h +menuconfig-bsd: kconf2h ./mconf Kconfig - tools/kconf2h/kconf2h .config config/config_bsd.h \ No newline at end of file + tools/kconf2h/kconf2h .config config/config_bsd.h + +bsd: $(OBJECTS) + $(CC) $(OBJECTS_FINAL) $(PROJECT).c -o $(PROJECT) $(LDFLAGS_BSD) + ld -r $(OBJECTS_FINAL) -o $(PROJECT).o \ No newline at end of file -- cgit v1.2.3