From 984d8e7adc0c119da8ff1764f5ee280f240d678c Mon Sep 17 00:00:00 2001 From: "Wolfgang (Blub) Bumiller" Date: Tue, 2 Oct 2012 15:35:31 +0200 Subject: [PATCH] link with $(LIBS), so on linux you can easily add -lrt without changing the Makefile --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 6b28f87..a51aed3 100644 --- a/Makefile +++ b/Makefile @@ -52,7 +52,7 @@ test: test_ast test_ir # compiler target gmqcc: $(OBJ_C) $(OBJ) - $(CC) -o $@ $^ $(CFLAGS) + $(CC) -o $@ $^ $(CFLAGS) $(LIBS) #all target is test and all all: test gmqcc -- 2.39.2