summaryrefslogtreecommitdiff
path: root/3rdparty/mt19937ar/Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to '3rdparty/mt19937ar/Makefile.in')
-rw-r--r--3rdparty/mt19937ar/Makefile.in30
1 files changed, 22 insertions, 8 deletions
diff --git a/3rdparty/mt19937ar/Makefile.in b/3rdparty/mt19937ar/Makefile.in
index 8a7b64669..9f49f3a81 100644
--- a/3rdparty/mt19937ar/Makefile.in
+++ b/3rdparty/mt19937ar/Makefile.in
@@ -1,26 +1,40 @@
+# Copyright (c) Hercules Dev Team, licensed under GNU GPL.
+# See the LICENSE file
+
+# @configure_input@
MT19937AR_OBJ = mt19937ar.o
MT19937AR_H = mt19937ar.h
@SET_MAKE@
+CC = @CC@
+export CC
+
#####################################################################
-.PHONY : all clean help
+.PHONY: all clean buildclean help
all: $(MT19937AR_OBJ)
-clean:
- @echo " CLEAN mt19937ar"
+buildclean:
+ @echo " CLEAN mt19937ar (build temp files)"
@rm -rf *.o
+clean: buildclean
+ @echo " CLEAN mt19937ar"
+
help:
- @echo "possible targets are 'all' 'clean' 'help'"
- @echo "'all' - builds $(MT19937AR_OBJ)"
- @echo "'clean' - deletes $(MT19937AR_OBJ)"
- @echo "'help' - outputs this message"
+ @echo "possible targets are 'all' 'clean' 'buildclean' 'help'"
+ @echo "'all' - builds $(MT19937AR_OBJ)"
+ @echo "'clean', 'buildclean' - deletes $(MT19937AR_OBJ)"
+ @echo "'help' - outputs this message"
#####################################################################
+Makefile: Makefile.in
+ @$(MAKE) -C ../.. 3rdparty/mt19937ar/Makefile
+
+%.o: %.c $(LIBCONFIG_H) Makefile
%.o: %.c $(MT19937AR_H)
@echo " CC $<"
- @@CC@ @CFLAGS@ @CPPFLAGS@ -c $(OUTPUT_OPTION) $<
+ @$(CC) @CFLAGS@ @CPPFLAGS@ -c $(OUTPUT_OPTION) $<