commit c66e0b0936b0ed339e2a3f6563948b3ed476b0c3 parent e7f47aec2ecc7be6936efce1e6db18d875eb8d73 Author: Sweets <Sweets@users.noreply.github.com> Date: Mon, 22 Jun 2020 16:10:59 -0700 #3 Diffstat:
M | Makefile | | | 5 | +++-- |
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/Makefile b/Makefile @@ -3,12 +3,13 @@ TARGET = tiramisu SRC := tiramisu.c callbacks.c format.c CFLAGS = -Wall -LDFLAGS = $(shell pkg-config --libs --cflags glib-2.0 gio-2.0) +IFLAGS = $(shell pkg-config --cflags glib-2.0 gio-2.0) +LDFLAGS = $(shell pkg-config --libs glib-2.0 gio-2.0) all: $(TARGET) $(TARGET): $(OBJ) - $(CC) $(CFLAGS) $(LDFLAGS) $(SRC) -o $(TARGET) + $(CC) $(CFLAGS) $(IFLAGS) $(SRC) $(LFLAGS) -o $(TARGET) clean: $(RM) ./tiramisu