kcpmtk/Makefile

22 lines
298 B
Makefile

TARGETS := hello test undump
LIBS := binary.pas ihex.pas
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
undump: undump.pas binary.pas ihex.pas
$(FPC) $@.pas