17 lines
205 B
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
|