diff options
author | Clifford Wolf <clifford@clifford.at> | 2016-02-14 13:47:27 +0100 |
---|---|---|
committer | Clifford Wolf <clifford@clifford.at> | 2016-02-14 13:47:27 +0100 |
commit | a519d2ab828517fda323f6421fd98cf73603fc0e (patch) | |
tree | 920be8624bf8a5602c2491cff2e1a637bc40f3d8 /icetime | |
parent | 04e61434577d2b167176832edd72121787f2a2db (diff) | |
download | icestorm-a519d2ab828517fda323f6421fd98cf73603fc0e.tar.gz icestorm-a519d2ab828517fda323f6421fd98cf73603fc0e.tar.bz2 icestorm-a519d2ab828517fda323f6421fd98cf73603fc0e.zip |
Added/improved support for mxe-based win32 cross builds
Diffstat (limited to 'icetime')
-rw-r--r-- | icetime/.gitignore | 1 | ||||
-rw-r--r-- | icetime/Makefile | 7 |
2 files changed, 5 insertions, 3 deletions
diff --git a/icetime/.gitignore b/icetime/.gitignore index fd24fa8..5c1b012 100644 --- a/icetime/.gitignore +++ b/icetime/.gitignore @@ -1,4 +1,5 @@ icetime +icetime.exe timings.inc test[0-9]* *.d diff --git a/icetime/Makefile b/icetime/Makefile index 15e635f..6355f06 100644 --- a/icetime/Makefile +++ b/icetime/Makefile @@ -2,9 +2,10 @@ include ../config.mk LDLIBS = -lm -lstdc++ CXXFLAGS = -MD -O0 -ggdb -Wall -std=c++11 -I/usr/local/include -DPREFIX='"$(PREFIX)"' -all: icetime +all: icetime$(EXE) -icetime: icetime.o +icetime$(EXE): icetime.o + $(CC) -o $@ $(LDFLAGS) $^ $(LDLIBS) icetime.o: icetime.cc timings.inc @@ -41,7 +42,7 @@ test: test0 test1 test2 test3 test4 test5 test6 test7 test8 test9 show: show0 show1 show2 show3 show4 show5 show6 show7 show8 show9 clean: - rm -f icetime timings.inc *.o *.d + rm -f icetime icetime.exe timings.inc *.o *.d rm -rf test[0-9]* -include *.d |