diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1,4 +1,5 @@ CC=tcc +CFLAGS=-lncurses SRC=src OBJ=obj SOURCES=$(wildcard $(SRC)/*.c) @@ -12,7 +13,7 @@ run: $(BIN) build: $(BIN) $(BIN): $(OBJECTS) - $(CC) $(OBJECTS) -o $(BIN) + $(CC) $(CFLAGS) $(OBJECTS) -o $(BIN) $(OBJ)/%.o: $(SRC)/%.c $(CC) -c $< -o $@ |