diff options
Diffstat (limited to 'Tools/BlockZapper/GNUmakefile')
-rw-r--r-- | Tools/BlockZapper/GNUmakefile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Tools/BlockZapper/GNUmakefile b/Tools/BlockZapper/GNUmakefile index 0ef5eb3cc..3236c0a0e 100644 --- a/Tools/BlockZapper/GNUmakefile +++ b/Tools/BlockZapper/GNUmakefile @@ -34,7 +34,7 @@ all: BlockZapper # CXX_OPTIONS ... options for the C++ code compiler # LNK_OPTIONS ... options for the linker # LNK_LIBS ... libraries to link in -# -- according to http://stackoverflow.com/questions/6183899/undefined-reference-to-dlopen, libs must come after all sources +# -- according to https://stackoverflow.com/questions/6183899/undefined-reference-to-dlopen, libs must come after all sources # BUILDDIR ... folder where the intermediate object files are built LNK_LIBS = -lstdc++ -ldl -lz @@ -139,7 +139,7 @@ SHAREDOBJECTS := $(patsubst %.cpp,$(BUILDDIR)%.o,$(SHAREDOBJECTS)) BlockZapper : $(OBJECTS) $(SHAREDOBJECTS) $(CC) $(LNK_OPTIONS) $(OBJECTS) $(SHAREDOBJECTS) $(LNK_LIBS) -o BlockZapper -clean : +clean : rm -rf $(BUILDDIR) BlockZapper @@ -156,7 +156,7 @@ clean : # -MM ... generate a list of includes $(BUILDDIR)%.o: %.c - @mkdir -p $(dir $@) + @mkdir -p $(dir $@) $(CC) $(CC_OPTIONS) -x c -c $(INCLUDE) $< -o $@ @$(CC) $(CC_OPTIONS) -x c -MM $(INCLUDE) $< > $(patsubst %.o,%.d,$@) @mv -f $(patsubst %.o,%.d,$@) $(patsubst %.o,%.d,$@).tmp |