diff options
author | Manuel Palenzuela <manuelpalenzuelamerino@gmail.com> | 2021-07-19 11:58:36 +0100 |
---|---|---|
committer | Manuel Palenzuela <manuelpalenzuelamerino@gmail.com> | 2021-07-19 11:58:36 +0100 |
commit | 2d30c37b02f7cc1edbd1d8bc7808bbb2243b124c (patch) | |
tree | 7e2b50fe42bc74349ab66dcbcfe124cba52e414a /Makefile | |
download | CHIP8-Emulator-2d30c37b02f7cc1edbd1d8bc7808bbb2243b124c.tar.gz CHIP8-Emulator-2d30c37b02f7cc1edbd1d8bc7808bbb2243b124c.tar.bz2 CHIP8-Emulator-2d30c37b02f7cc1edbd1d8bc7808bbb2243b124c.zip |
Initial commit
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 13 |
1 files changed, 13 insertions, 0 deletions
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 $@ |