kcpmtk/Makefile

22 lines
298 B
Makefile
Raw Normal View History

2023-10-03 19:28:45 +00:00
TARGETS := hello test undump
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
2023-10-03 19:28:45 +00:00
undump: undump.pas binary.pas ihex.pas
$(FPC) $@.pas