diff options
author | Alexander Harkness <me@bearbin.net> | 2015-12-19 15:51:20 +0100 |
---|---|---|
committer | Alexander Harkness <me@bearbin.net> | 2015-12-19 15:51:20 +0100 |
commit | f764df1a3aa2ce4fd5771d66974fe93c970f9e20 (patch) | |
tree | bdc9006f78ba8ae91e26213130d07e67124b044f /Tools/BlockZapper/GNUmakefile | |
parent | Merge pull request #2774 from cuberite/worktycho-patch-1 (diff) | |
parent | Added HTTPS links wherever they are supported. (diff) | |
download | cuberite-f764df1a3aa2ce4fd5771d66974fe93c970f9e20.tar cuberite-f764df1a3aa2ce4fd5771d66974fe93c970f9e20.tar.gz cuberite-f764df1a3aa2ce4fd5771d66974fe93c970f9e20.tar.bz2 cuberite-f764df1a3aa2ce4fd5771d66974fe93c970f9e20.tar.lz cuberite-f764df1a3aa2ce4fd5771d66974fe93c970f9e20.tar.xz cuberite-f764df1a3aa2ce4fd5771d66974fe93c970f9e20.tar.zst cuberite-f764df1a3aa2ce4fd5771d66974fe93c970f9e20.zip |
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 |