freebsd fixups
[lcore.git] / Makefile
1 all: lcoretest\r
2 \r
3 nomessages:\r
4         fpc -Sd -gl -dipv6 -dnomessages lcoretest.dpr\r
5 \r
6 lcoretest: *.pas *.inc lcoretest.dpr\r
7         fpc -Sd -gl -dipv6 lcoretest.dpr\r
8         \r
9 clean:\r
10         -rm *.o\r
11         -rm *.ppu\r
12         -rm *.exe\r
13         -rm *.dcu\r
14         -rm lcoretest\r
15 \r
16 date := $(shell date +%Y%m%d)\r
17 \r
18 zip:\r
19         mkdir -p lcorewin32_$(date)\r
20         cp -a *.pas lcorewin32_$(date)\r
21         cp -a *.inc lcorewin32_$(date)\r
22         cp -a *.dpr lcorewin32_$(date)\r
23         cp -a Makefile lcorewin32_$(date)\r
24         -rm ../lcorewin32_$(date).zip\r
25         zip -r ../lcorewin32_$(date).zip lcorewin32_$(date)\r
26         rm -rf lcorewin32_$(date)