Browse Source

tupfiles

master
Alessandro Mauri 1 year ago
parent
commit
347050b092
4 changed files with 8 additions and 2 deletions
  1. BIN
      .tup/db
  2. +2
    -2
      Tupfile.ini
  3. +6
    -0
      Tuprules.tup
  4. BIN
      src/.ste.c.swp

BIN
.tup/db View File


+ 2
- 2
Tupfile.ini View File

@ -1,3 +1,3 @@
: foreach src/*.h |> zig cc -Wall -lncurses -c %f -o %o |> %B.o
: foreach src/*.c |> zig cc -Wall -lncurses -c %f -o %o |> %B.o
: foreach src/*.h |> !cc |>
: foreach src/*.c |> !cc |>
: src/*.o |> zig cc -Wall -lncurses %f -o %o |> ste

+ 6
- 0
Tuprules.tup View File

@ -0,0 +1,6 @@
CFLAGS += -Wall
CFLAGS += -O3
CFLAGS += -pedantic
CFLAGS += -Werror
!cc = |> zig cc $(CFLAGS) -f %f -o %o |> %B.o

BIN
src/.ste.c.swp View File


Loading…
Cancel
Save