123456789101112131415161718192021222324252627 |
- name := sourcery
- build := stable
- flags += -I..
- nall.path := ../nall
- include $(nall.path)/GNUmakefile
- objects := obj/sourcery.o
- obj/sourcery.o: sourcery.cpp
- all: $(objects)
- $(info Linking out/$(name) ...)
- +@$(compiler) -o out/$(name) $(objects) $(options)
- verbose: nall.verbose all;
- clean:
- $(call delete,obj/*)
- $(call delete,out/*)
- install: all
- cp out/$(name) $(prefix)/bin/$(name)
- uninstall:
- rm -f $(prefix)/bin/$(name)
|