code-examples/2015/2015_03/ada/algorytmy/Makefile

17 lines
205 B
Makefile

SOURCES = $(wildcard *.adb)
HEADERS = $(wildcard *.ads)
PROGRAM = classes
all: build
build: $(SOURCES) $(HEADERS)
gnatmake $(PROGRAM)
.PHONY: clean
clean:
gnatclean $(PROGRAM)
rebuild:
clean build