diff options
| author | Thomas Guillermo Albers Raviola <thomas@thomaslabs.org> | 2026-01-16 23:26:01 +0100 |
|---|---|---|
| committer | Thomas Guillermo Albers Raviola <thomas@thomaslabs.org> | 2026-01-16 23:26:01 +0100 |
| commit | c15c603b35e86fd42e6db94a7382ba7a1ddadd6e (patch) | |
| tree | ab56040ce4768564bef5fbe9e65fe4c025cea6ce /Makefile | |
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..628d7d4 --- /dev/null +++ b/Makefile @@ -0,0 +1,13 @@ +OBJ = main.o menu.o render.o util.o bullet.o player.o collisions.o file.o +CFLAGS = -std=c99 -g -Wall +LDFLAGS = -lSDL2 -lSDL2_image -lSDL2_ttf -lm -lSDL2_mixer + +all: $(OBJ) + @$(CC) $(OBJ) -o highnoon $(LDFLAGS) + +%.o : %.c + @$(CC) $(CFLAGS) -c -o $@ $< + +.PHONY : clean +clean: + @rm -f $(OBJ) highnoon |
