File: Makefile

package info (click to toggle)
stax 1.37-1
  • links: PTS
  • area: main
  • in suites: bullseye, buster, sid, stretch
  • size: 1,768 kB
  • ctags: 809
  • sloc: cpp: 8,151; makefile: 30
file content (23 lines) | stat: -rw-r--r-- 436 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Very lazy makefile
# FIXME: remove debugging flags

help:
	@echo Type \"make linux\" or \"make windows\"

debug:
	g++ -g -DUNIX *.cpp -o stax `allegro-config --libs`
	exedat stax stax.dat

linux:
	g++ -DUNIX *.cpp -o stax `allegro-config --libs`
	strip stax
	exedat stax stax.dat

windows:
	g++ -mwindows *.cpp icon.res -o stax.exe -lalleg -lwinmm
	exedat stax.exe stax.dat

clean:
	rm -f stax stax.exe
	rm -f stax.hs
	rm -f stax.cfg