1
0
lazarus-tutorials/simple_examples/Makefile

12 lines
251 B
Makefile
Raw Normal View History

2021-09-23 12:15:42 -04:00
PROGRAMS_SRC = $(wildcard *.pas)
PROGRAMS_O = $(patsubst %.pas,%.o,$(PROGRAMS_SRC))
PROGRAMS = $(patsubst %.pas,%,$(PROGRAMS_SRC))
all:
$(foreach file, $(PROGRAMS), fpc -v0 ${file};)
clean:
rm -f $(PROGRAMS_O)
rm -f $(PROGRAMS)
.PHONY: all clean