70
|
1 |
# include the system specific Makefile
|
|
2 |
include ../../Makefile.$(shell uname)
|
|
3 |
|
|
4 |
default: all
|
|
5 |
|
|
6 |
all: generate_c.o
|
|
7 |
|
|
8 |
clean:
|
159
|
9 |
echo > Makefile.depend
|
|
10 |
-rm -f *.o */*.o
|
70
|
11 |
|
|
12 |
CXXFLAGS += -Wno-unused
|
|
13 |
CXXFLAGS += -I. -I../* -I../../absyntax
|
|
14 |
|
|
15 |
#how to make things from other directories if they are missing
|
|
16 |
../% /%:
|
|
17 |
$(MAKE) -C $(@D) $(@F)
|
|
18 |
|
|
19 |
test_iec_std_lib: test_iec_std_lib.c iec_std_lib.h
|
|
20 |
gcc -o test_iec_std_lib test_iec_std_lib.c
|
|
21 |
|
|
22 |
test: test_iec_std_lib
|
|
23 |
|
|
24 |
Makefile.depend depend:
|
|
25 |
$(CXX) -MM -MG -I. *.cc \
|
243
|
26 |
| sed 's/:/ Makefile.depend:/' > Makefile.depend
|
70
|
27 |
|
|
28 |
include Makefile.depend
|