diff options
author | Alexander Harkness <me@bearbin.net> | 2015-12-19 15:30:32 +0100 |
---|---|---|
committer | Alexander Harkness <me@bearbin.net> | 2015-12-19 15:30:32 +0100 |
commit | 8b851d504875906afe3b40dd87f642fd7d5a93f1 (patch) | |
tree | bdc9006f78ba8ae91e26213130d07e67124b044f /tests/NoiseTest/GNUmakefile | |
parent | Merge pull request #2774 from cuberite/worktycho-patch-1 (diff) | |
download | cuberite-8b851d504875906afe3b40dd87f642fd7d5a93f1.tar cuberite-8b851d504875906afe3b40dd87f642fd7d5a93f1.tar.gz cuberite-8b851d504875906afe3b40dd87f642fd7d5a93f1.tar.bz2 cuberite-8b851d504875906afe3b40dd87f642fd7d5a93f1.tar.lz cuberite-8b851d504875906afe3b40dd87f642fd7d5a93f1.tar.xz cuberite-8b851d504875906afe3b40dd87f642fd7d5a93f1.tar.zst cuberite-8b851d504875906afe3b40dd87f642fd7d5a93f1.zip |
Diffstat (limited to 'tests/NoiseTest/GNUmakefile')
-rw-r--r-- | tests/NoiseTest/GNUmakefile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/NoiseTest/GNUmakefile b/tests/NoiseTest/GNUmakefile index 436cfdcfe..15617b6ce 100644 --- a/tests/NoiseTest/GNUmakefile +++ b/tests/NoiseTest/GNUmakefile @@ -30,7 +30,7 @@ all: NoiseTest # 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 @@ -120,7 +120,7 @@ SHAREDOBJECTS := $(patsubst %.cpp,$(BUILDDIR)%.o,$(SHAREDOBJECTS)) NoiseTest : $(OBJECTS) $(SHAREDOBJECTS) $(CC) $(LNK_OPTIONS) $(OBJECTS) $(SHAREDOBJECTS) $(LNK_LIBS) -o NoiseTest -clean : +clean : rm -rf $(BUILDDIR) NoiseTest @@ -136,7 +136,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 |