summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 03775b9..f3aac0f 100644
--- a/Makefile
+++ b/Makefile
@@ -1,15 +1,15 @@
.SUFFIXES: .c .o .h .a
-.include "config.mk"
+include config.mk
$(PROG): ${OBJ}
$(LINKER) ${OBJ} -o $@ $(LFLAGS)
.c.o:
- @echo $<
- $(CC) $(CFLAGS) -c $<
+ @echo $< $@
+ $(CC) $(CFLAGS) -c $< -o $@
clean:
- rm -f *.o
+ rm -f ${OBJ}
rm -f $(PROG)
rm -f *.core