equal
deleted
inserted
replaced
1 # include the system specific Makefile |
1 # include the system specific Makefile |
2 #include ../../../../Makefile.$(shell uname) |
2 include ../../Makefile.$(shell uname) |
3 |
|
4 |
|
5 |
3 |
6 default: all |
4 default: all |
7 |
5 |
8 all: generate_iec.o |
6 all: generate_iec.o |
9 |
7 |
10 clean: |
8 clean: |
11 -rm -f Makefile.depend |
9 -rm -f Makefile.depend |
12 -rm -f *.o */*.o |
10 -rm -f *.o */*.o |
13 |
11 |
14 #get warnings, debugging information and optimization |
12 #get warnings, debugging information and optimization |
15 CXXFLAGS = -Wall -pedantic -Wpointer-arith -Wwrite-strings |
13 #CXXFLAGS = -Wall -pedantic -Wpointer-arith -Wwrite-strings |
16 # CXXFLAGS += -Werror |
14 # CXXFLAGS += -Werror |
17 CXXFLAGS += -ggdb -O3 -funroll-loops |
15 #CXXFLAGS += -ggdb -O3 -funroll-loops |
18 # Note: if the optimizer crashes, we'll leave out the -O3 for those files |
16 # Note: if the optimizer crashes, we'll leave out the -O3 for those files |
19 |
17 |
20 CXXFLAGS += -I. -I../* -I../../absyntax |
18 CXXFLAGS += -I. -I../* -I../../absyntax |
21 |
19 |
22 |
20 |