diff --git a/.gitignore b/.gitignore index eb0b35b..7fc5b58 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,6 @@ +src/*.o tmp/ +fun +fun_test +test_oppcodes test.* diff --git a/Makefile b/Makefile index 9944fec..c58ce7f 100644 --- a/Makefile +++ b/Makefile @@ -11,9 +11,9 @@ TEST_BIN = $(TEST_SRC:src/%.c=%) .PHONY: all test clean # Default: build main demo -all: main +all: fun -main: $(OBJ) src/main.c +fun: $(OBJ) src/fun.c $(CC) $(CFLAGS) -o $@ $^ # Compile object files diff --git a/src/main.c b/src/fun.c similarity index 100% rename from src/main.c rename to src/fun.c