diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/Makecommon | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/Makecommon b/src/Makecommon new file mode 100644 index 00000000..687ba69e --- /dev/null +++ b/src/Makecommon @@ -0,0 +1,17 @@ +.c.$O: + @echo cc $*.c + @$(CC) $(CFLAGS) -I$(9SRC)/include $*.c + +%.$O: %.c + @echo cc $*.c + @$(CC) $(CFLAGS) -I$(9SRC)/include $*.c + +$(OFILES): $(HFILES) + +clean: + rm -f $(CLEANFILES) + +nuke: + rm -f $(CLEANFILES) $(NUKEFILES) + +.phony: all install clean nuke |