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 | |
download | CHIP8-Emulator-2d30c37b02f7cc1edbd1d8bc7808bbb2243b124c.tar.gz CHIP8-Emulator-2d30c37b02f7cc1edbd1d8bc7808bbb2243b124c.tar.bz2 CHIP8-Emulator-2d30c37b02f7cc1edbd1d8bc7808bbb2243b124c.zip |
Initial commit
-rw-r--r-- | .gitignore | 3 | ||||
-rw-r--r-- | Makefile | 13 | ||||
-rw-r--r-- | emulator.c | 0 | ||||
-rw-r--r-- | emulator.h | 0 | ||||
-rw-r--r-- | main.c | 12 |
5 files changed, 28 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..6826944 --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +chip8_emulator +CHIP8_Emulator.* +*.o 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 $@ diff --git a/emulator.c b/emulator.c new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/emulator.c diff --git a/emulator.h b/emulator.h new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/emulator.h diff --git a/main.c b/main.c new file mode 100644 index 0000000..8f61750 --- /dev/null +++ b/main.c @@ -0,0 +1,12 @@ +#include <stdio.h> +#include "emulator.h" + +int main(int argc, char** argv) +{ + (void) argc; + (void) argv; + + printf("Hello brother!\n"); + + return 0; +} |