about summary refs log tree commit diff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 1346c94..d13a7ff 100644
--- a/Makefile
+++ b/Makefile
@@ -3,11 +3,11 @@ CFLAGS=-g -Wall -I.
 
 all: chip8_emulator
 
-%.o: %.c %.h
+%.o: %.c
 	$(CC) $(CFLAGS) -c $^
 
 chip8_emulator: emulator.o main.c
 	$(CC) $(CFLAGS) -o $@ $^
 
-clean: chip8_emulator
-	rm *.o $@
+clean:
+	rm *.o chip8_emulator