aboutsummaryrefslogtreecommitdiff
path: root/makefile.gnu
diff options
context:
space:
mode:
Diffstat (limited to 'makefile.gnu')
-rw-r--r--makefile.gnu6
1 files changed, 3 insertions, 3 deletions
diff --git a/makefile.gnu b/makefile.gnu
index 6176c5d..a8a95c4 100644
--- a/makefile.gnu
+++ b/makefile.gnu
@@ -4,8 +4,8 @@ CLIBS=-lgem
TARGET=worm.app
clean:
- rm -f *.o
- rm -f *.app
+ rm -f player.o field.o scores.o worm.o
+ rm -f $(TARGET)
player.o: player.c player.h field.h
$(CC) $(CFLAGS) -c player.c
@@ -21,4 +21,4 @@ worm.o: worm.c player.h field.h keybd.h scores.h
all: worm.o player.h field.h keybd.h wormst.h player.o field.o scores.o
$(CC) $(CFLAGS) -o $(TARGET) worm.o player.o field.o scores.o $(CLIBS)
- \ No newline at end of file
+