blob: 1346c949ba72144bd16b23b60ef8410e89ad492b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
CC=cc
CFLAGS=-g -Wall -I.
all: chip8_emulator
%.o: %.c %.h
$(CC) $(CFLAGS) -c $^
chip8_emulator: emulator.o main.c
$(CC) $(CFLAGS) -o $@ $^
clean: chip8_emulator
rm *.o $@
|