about summary refs log tree commit diff
path: root/Makefile
blob: d13a7fff95644ad71aec992940c1ecb2ba9c720d (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
	$(CC) $(CFLAGS) -c $^

chip8_emulator: emulator.o main.c
	$(CC) $(CFLAGS) -o $@ $^

clean:
	rm *.o chip8_emulator