diff options
author | falkTX <falktx@gmail.com> | 2014-01-27 00:16:36 +0000 |
---|---|---|
committer | falkTX <falktx@gmail.com> | 2014-01-27 00:16:36 +0000 |
commit | a296a76c708abd089ea589643f6623bde9c0ced8 (patch) | |
tree | 8bdba092b83d1b815ecae38752a59767b5434e82 /examples | |
parent | 189de4e0269655463a6a0ff895e3d73914e6938b (diff) |
Fix win32 build; misc changes
Diffstat (limited to 'examples')
-rw-r--r-- | examples/Makefile | 23 |
1 files changed, 13 insertions, 10 deletions
diff --git a/examples/Makefile b/examples/Makefile index f087e82d..8bbeca6f 100644 --- a/examples/Makefile +++ b/examples/Makefile @@ -14,7 +14,7 @@ LINK_FLAGS += -L.. -ldgl $(DGL_LIBS) # -------------------------------------------------------------- ifeq ($(WIN32),true) -TARGETS = app.exe cairo.exe color images.exe nekobi-ui.exe +TARGETS = app.exe color.exe images.exe nekobi-ui.exe else ifeq ($(MACOS),true) TARGETS = app color images nekobi-ui @@ -26,10 +26,20 @@ endif # -------------------------------------------------------------- all: ../libdgl.a $(TARGETS) + +clean: + $(MAKE) -C ../dgl clean + $(RM) $(TARGETS) + +debug: + $(MAKE) DEBUG=true + # -------------------------------------------------------------- %.exe: % + rm -f $*.exe mv $* $*.exe + ln -sf $*.exe $* ../libdgl.a: .FORCE $(MAKE) -C ../dgl @@ -53,14 +63,7 @@ nekobi-ui: nekobi-ui.cpp nekobi-ui_src/* ../dgl/* # -------------------------------------------------------------- -clean: - $(MAKE) -C ../dgl clean - $(RM) $(TARGETS) - -debug: - $(MAKE) DEBUG=true - -# -------------------------------------------------------------- - .FORCE: .PHONY: .FORCE + +# -------------------------------------------------------------- |