diff options
author | FreeArtMan <dos21h@gmail.com> | 2015-12-21 18:32:50 +0000 |
---|---|---|
committer | FreeArtMan <dos21h@gmail.com> | 2015-12-21 18:32:50 +0000 |
commit | 8900b3c75142c9701657f20b307d70f106cc3697 (patch) | |
tree | 2163fb380a5f66ebe2962a7dd99ee546419bb3d4 /Makefile | |
parent | 9381ae971066a42ad00def424c29370ced09eb60 (diff) | |
download | radiola-8900b3c75142c9701657f20b307d70f106cc3697.tar.gz radiola-8900b3c75142c9701657f20b307d70f106cc3697.zip |
Add NetBSD support files and config_bsd.h to be compatible with NetBSD
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -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 |