diff options
author | Charadon <dev@iotib.net> | 2022-09-10 16:27:49 -0400 |
---|---|---|
committer | Charadon <dev@iotib.net> | 2022-09-10 16:27:49 -0400 |
commit | c21912f0c4e821306ebee4979fb939438b461372 (patch) | |
tree | e462c3fa8274cd7733c242cac57c537826913431 /Tupfile | |
parent | 5b2cac6bf167a825684da433093b720e8b6523c7 (diff) | |
download | Pong-C-c21912f0c4e821306ebee4979fb939438b461372.tar.gz |
Prettied up the Tupfile
Diffstat (limited to 'Tupfile')
-rw-r--r-- | Tupfile | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/Tupfile b/Tupfile index cff48e6..e371864 100644 --- a/Tupfile +++ b/Tupfile @@ -1,4 +1,8 @@ -CFLAGS += `pkg-config --cflags raylib` `pkg-config --cflags glfw3` `pkg-config --cflags glu` `pkg-config --cflags gl` `pkg-config --cflags sdl2` `pkg-config --cflags SDL2_mixer` `pkg-config --cflags bdw-gc` -LDFLAGS += `pkg-config --libs raylib` `pkg-config --libs glfw3` `pkg-config --libs glu` `pkg-config --libs gl` `pkg-config --libs sdl2` `pkg-config --libs SDL2_mixer` `pkg-config --libs bdw-gc` +CFLAGS += `pkg-config --cflags raylib` `pkg-config --cflags glfw3` `pkg-config --cflags glu` +CFLAGS += `pkg-config --cflags gl` `pkg-config --cflags sdl2` `pkg-config --cflags SDL2_mixer` `pkg-config --cflags bdw-gc` +CFLAGS += -std=gnu99 -Wall -O3 -g -ggdb +LDFLAGS += `pkg-config --libs raylib` `pkg-config --libs glfw3` `pkg-config --libs glu` +LDFLAGS += `pkg-config --libs gl` `pkg-config --libs sdl2` `pkg-config --libs SDL2_mixer` +LDFLAGS += `pkg-config --libs bdw-gc` : foreach src/*.c |> @(CC) $(CFLAGS) -c %f -o %o |> @(BUILD_DIR)/obj/%B.o : @(BUILD_DIR)/obj/*.o |> @(CC) %f -o %o $(LDFLAGS) |> @(BUILD_DIR)/bin/Pong |