kcpmtk/Makefile

22 lines
307 B
Makefile
Raw Normal View History

TARGETS := test dump undump
LIBS := binary.pas common.pas ihex.pas
FPC_FLAGS := -g -Mtp
2023-10-03 08:54:45 +00:00
FPC := fpc $(FPC_FLAGS)
.PHONY: all
all: $(TARGETS)
.PHONY: clean
clean:
rm -f *.o $(TARGETS)
test: test.pas $(LIBS)
$(FPC) $@.pas
2023-10-03 19:28:45 +00:00
undump: undump.pas $(LIBS)
$(FPC) $@.pas
dump: dump.pas $(LIBS)
2023-10-03 19:28:45 +00:00
$(FPC) $@.pas