examples/debhello-0.3/Makefile
raw| 1 | all: src/hello |
| 2 | |
| 3 | src/hello: src/hello.c |
| 4 | $(CC) $(CPPFLAGS) $(CFLAGS) $(LDCFLAGS) -o $@ $^ |
| 5 | |
| 6 | install: src/hello |
| 7 | install -D src/hello \ |
| 8 | /usr/local/bin/hello |
| 9 | |
| 10 | clean: |
| 11 | -rm -f src/hello |
| 12 | |
| 13 | distclean: clean |
| 14 | |
| 15 | uninstall: |
| 16 | -rm -f /usr/local/bin/hello |
| 17 | |
| 18 | .PHONY: all install clean distclean uninstall |