diff options
author | Kyle Gunger <kgunger12@gmail.com> | 2024-05-01 21:58:28 -0400 |
---|---|---|
committer | Kyle Gunger <kgunger12@gmail.com> | 2024-05-01 21:58:28 -0400 |
commit | da00f4eb7bf4cdcd463756ce0b73e5a4540bf9ff (patch) | |
tree | 098aa603c8413b038e1d1fda2ee1132bf5eb9bc6 /Makefile | |
parent | daf38fe804d82f8336ebe0f5c044b19c5f11967c (diff) |
Test server
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -2,7 +2,6 @@ SRC_DIR = src BUILD_DIR = build OBJ_DIR = $(BUILD_DIR)/artifacts -INCLUDE_DIR = ./include SRCS = $(notdir $(wildcard $(SRC_DIR)/*.c)) OBJS = $(addsuffix .o, $(basename $(SRCS))) @@ -13,7 +12,7 @@ build: build_dir $(OBJS) $(CC) -lopensmarts -o $(BUILD_DIR)/osm-thermald $(addprefix $(OBJ_DIR)/, $(OBJS)) %.o: $(SRC_DIR)/%.c - $(CC) $(CFLAGS) -c -I$(INCLUDE_DIR) -o $(BUILD_DIR)/artifacts/$@ $< + $(CC) $(CFLAGS) -c -o $(BUILD_DIR)/artifacts/$@ $< build_dir: mkdir -p $(BUILD_DIR) |