diff options
author | IOhannes m zmölnig <zmoelnig@users.sourceforge.net> | 2006-04-06 15:55:39 +0000 |
---|---|---|
committer | IOhannes m zmölnig <zmoelnig@users.sourceforge.net> | 2006-04-06 15:55:39 +0000 |
commit | e208ff26e3ac63946064d22dd77f0511d93f9492 (patch) | |
tree | de811c15d97ec1b0099049940f7c29b51bcd6975 | |
parent | 15f7abfac5a429555e5230726f83c0189b1521db (diff) |
only include Makefile.buildlayout if it is available; this allows us to build hid even if you don't have everything checked out with something like: "OS_NAME=linux make all"
svn path=/trunk/externals/hcs/hid/; revision=4822
-rw-r--r-- | Makefile | 33 |
1 files changed, 20 insertions, 13 deletions
@@ -21,12 +21,19 @@ cvs_root_dir = $(CWD)/../../.. DESTDIR = $(CWD)/build/ BUILDLAYOUT_DIR = $(cvs_root_dir)/packages -include $(BUILDLAYOUT_DIR)/Makefile.buildlayout +-include $(BUILDLAYOUT_DIR)/Makefile.buildlayout + + CFLAGS = $(OPT_FLAGS) -Wall -I./ -I../../../pd/src LDFLAGS = LIBS = -lm +ifeq (x$(OS_NAME),x) +default: + @echo no OS_NAME specified +endif + #SRC = $(wildcard $(externals_src)/hcs/hid/hid*.c) SRC = $(wildcard *.c) @@ -132,15 +139,15 @@ test_locations: @echo "OS_NAME: $(OS_NAME)" @echo "PD_VERSION: $(PD_VERSION)" @echo "PACKAGE_VERSION: $(PACKAGE_VERSION)" - @echo "CWD $(CWD)" - @echo "DESTDIR $(DESTDIR)" - @echo "PREFIX $(prefix)" - @echo "BINDIR $(bindir)" - @echo "LIBDIR $(libdir)" - @echo "OBJECTSDIR $(objectsdir)" - @echo "PDDOCDIR $(pddocdir)" - @echo "LIBPDDIR $(libpddir)" - @echo "LIBPDBINDIR $(libpdbindir)" - @echo "HELPDIR $(helpdir)" - @echo "MANUALSDIR $(manualsdir)" - @echo "EXAMPLESDIR $(examplesdir)" + @echo "CWD: $(CWD)" + @echo "DESTDIR: $(DESTDIR)" + @echo "PREFIX: $(prefix)" + @echo "BINDIR: $(bindir)" + @echo "LIBDIR: $(libdir)" + @echo "OBJECTSDIR: $(objectsdir)" + @echo "PDDOCDIR: $(pddocdir)" + @echo "LIBPDDIR: $(libpddir)" + @echo "LIBPDBINDIR: $(libpdbindir)" + @echo "HELPDIR: $(helpdir)" + @echo "MANUALSDIR: $(manualsdir)" + @echo "EXAMPLESDIR: $(examplesdir)" |