You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
1.9 KiB
30 lines
1.9 KiB
Index: src/makefile |
|
--- src/makefile.orig 2011-07-30 10:22:49.000000000 +0200 |
|
+++ src/makefile 2011-08-02 23:15:07.000000000 +0200 |
|
@@ -4,7 +4,7 @@ |
|
# make |
|
# If you are under windows you should use MinGW with mk_mingw.mak, mk_nmake.mak or mk_msys.mak instead. |
|
|
|
-# CFLAGS = |
|
+CFLAGS = |
|
# CFLAGS = -Wall -Wstrict-prototypes -Winline -Wconversion -Wshadow -Wpointer-arith |
|
# CFLAGS = -O2 -fomit-frame-pointer -Wall -Wstrict-prototypes -Winline -Wconversion -Wshadow -Wpointer-arith |
|
# CFLAGS = -O2 -g -Wall -Wextra -Wswitch-default -Wswitch-enum -Wcast-qual -Waggregate-return -Wwrite-strings -Wstrict-prototypes -Winline -Wconversion -Wshadow -Wpointer-arith -Wmissing-noreturn -Wno-multichar -Wc++-compat |
|
@@ -12,7 +12,7 @@ |
|
# CFLAGS = -O2 -fomit-frame-pointer -Wall -Wextra -Wswitch-default -Wcast-qual -Waggregate-return -Wwrite-strings -Winline -Wconversion -Wshadow -Wpointer-arith -Wmissing-noreturn -Wno-multichar |
|
# CFLAGS = -O2 -g -Wall -Wstrict-prototypes -Winline -Wconversion -Wshadow -Wpointer-arith -ftrapv |
|
# CFLAGS = -O2 -g -x c++ -Wall -Winline -Wconversion -Wshadow -Wpointer-arith |
|
-CFLAGS = -O2 -g -Wall -Wstrict-prototypes -Winline -Wconversion -Wshadow -Wpointer-arith |
|
+# CFLAGS = -O2 -g -Wall -Wstrict-prototypes -Winline -Wconversion -Wshadow -Wpointer-arith |
|
# CFLAGS = -O2 -g -std=c99 -Wall -Wstrict-prototypes -Winline -Wconversion -Wshadow -Wpointer-arith |
|
# CFLAGS = -O2 -g -Wall -Winline -Wconversion -Wshadow -Wpointer-arith |
|
# CFLAGS = -O2 -g -Wall |
|
@@ -181,7 +181,7 @@ |
|
echo "#define COMP_DATA_LIB \"$(COMP_DATA_LIB)\"" >> version.h |
|
echo "#define COMPILER_LIB \"$(COMPILER_LIB)\"" >> version.h |
|
cd ../bin; echo "#define S7_LIB_DIR \"`pwd`\"" >> ../src/version.h; cd ../src |
|
- cd ../lib; echo "#define SEED7_LIBRARY \"`pwd`\"" >> ../src/version.h; cd ../src |
|
+ cd ../lib; echo "#define SEED7_LIBRARY \"$(SEED7_LIBRARY)\"" >> ../src/version.h; cd ../src |
|
|
|
depend: a_depend b_depend c_depend d_depend version.h |
|
$(CC) $(CFLAGS) -M $(SRC) > depend
|
|
|