kcpmtk/Makefile

18 lines
235 B
Makefile
Raw Normal View History

2023-10-03 08:54:45 +00:00
TARGETS := hello test
2023-10-03 10:07:21 +00:00
LIBS := binary.pas ihex.pas
2023-10-03 08:54:45 +00:00
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