From 2d30c37b02f7cc1edbd1d8bc7808bbb2243b124c Mon Sep 17 00:00:00 2001 From: Manuel Palenzuela Date: Mon, 19 Jul 2021 11:58:36 +0100 Subject: Initial commit --- Makefile | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 Makefile (limited to 'Makefile') diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..1346c94 --- /dev/null +++ b/Makefile @@ -0,0 +1,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 $@ -- cgit 1.4.1