1
0
Fork 0
forked from fun/fun

Some Makefile fixes and .gitignore update.

This commit is contained in:
Johannes Findeisen 2025-09-13 05:16:32 +02:00
commit 13242d57b6
3 changed files with 6 additions and 2 deletions

4
.gitignore vendored
View file

@ -1,2 +1,6 @@
src/*.o
tmp/
fun
fun_test
test_oppcodes
test.*

View file

@ -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