* make disabling/enabling a timer on windows reset it like on linux
[lcore.git] / Makefile
1 all: lcoretest\r
2 \r
3 lcoretest: *.pas *.inc lcoretest.dpr\r
4         fpc -Sd -dipv6 lcoretest.dpr\r
5         \r
6 clean:\r
7         -rm *.o\r
8         -rm *.ppu\r
9         -rm *.exe\r
10         -rm *.dcu\r
11         -rm lcoretest\r
12 \r
13 date := $(shell date +%Y%m%d)\r
14 \r
15 zip:\r
16         mkdir -p lcorewin32_$(date)\r
17         cp -a *.pas lcorewin32_$(date)\r
18         cp -a *.inc lcorewin32_$(date)\r
19         cp -a *.dpr lcorewin32_$(date)\r
20         cp -a Makefile lcorewin32_$(date)\r
21         -rm ../lcorewin32_$(date).zip\r
22         zip -r ../lcorewin32_$(date).zip lcorewin32_$(date)\r
23         rm -rf lcorewin32_$(date)