18 lines
226 B
Makefile
18 lines
226 B
Makefile
|
TARGETS := hello test
|
||
|
LIBS := binary.inc
|
||
|
FPC_FLAGS := -g
|
||
|
FPC := fpc $(FPC_FLAGS)
|
||
|
|
||
|
.PHONY: all
|
||
|
all: $(TARGETS)
|
||
|
|
||
|
.PHONY: clean
|
||
|
clean:
|
||
|
rm -f *.o $(TARGETS)
|
||
|
|
||
|
hello: hello.pas
|
||
|
$(FPC) $@.pas
|
||
|
|
||
|
test: test.pas $(LIBS)
|
||
|
$(FPC) $@.pas
|