Website Summary Files Commits Branches @commit @diff @stats
path: root / spasm / solution / Makefile
blob: 665d2517de271eaaf4a1ed32d9e9b0215bf19231 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# GNU Make solution makefile autogenerated by GENie
# Type "make help" for usage help

ifndef config
  config=debug64
endif
export config

PROJECTS := spasm sprt sprun

.PHONY: all clean help $(PROJECTS)

all: $(PROJECTS)

sprt: 
	@echo "==== Building sprt ($(config)) ===="
	@${MAKE} --no-print-directory -C . -f sprt.make

spasm: 
	@echo "==== Building spasm ($(config)) ===="
	@${MAKE} --no-print-directory -C . -f spasm.make

sprun: sprt
	@echo "==== Building sprun ($(config)) ===="
	@${MAKE} --no-print-directory -C . -f sprun.make

clean:
	@${MAKE} --no-print-directory -C . -f sprt.make clean
	@${MAKE} --no-print-directory -C . -f spasm.make clean
	@${MAKE} --no-print-directory -C . -f sprun.make clean

help:
	@echo "Usage: make [config=name] [target]"
	@echo ""
	@echo "CONFIGURATIONS:"
	@echo "   debug64"
	@echo "   release64"
	@echo ""
	@echo "TARGETS:"
	@echo "   all (default)"
	@echo "   clean"
	@echo "   sprt"
	@echo "   spasm"
	@echo "   sprun"
	@echo ""
	@echo "For more information, see https://github.com/bkaradzic/genie"