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