1.1 --- a/src/Makefile Mon Oct 30 18:54:16 2023 +0100 1.2 +++ b/src/Makefile Wed Nov 01 20:09:49 2023 +0100 1.3 @@ -27,21 +27,25 @@ 1.4 1.5 BUILD_DIR=../build/lib 1.6 1.7 -SRC = core.c 1.8 +SRC = core.c window.c 1.9 1.10 OBJ = $(SRC:%.c=$(BUILD_DIR)/%.o) 1.11 1.12 all: $(BUILD_DIR)/libascension.a FORCE 1.13 - echo "You have successfully ascended." 1.14 + @echo "You have successfully ascended." 1.15 1.16 $(BUILD_DIR)/libascension.a: $(OBJ) 1.17 - echo "Creating library..." 1.18 + @echo "Creating library..." 1.19 $(AR) $(ARFLAGS) $@ $^ 1.20 1.21 FORCE: 1.22 1.23 -$(BUILD_DIR)/core.o: core.c ascension/core.h ascension/datatypes.h \ 1.24 - ascension/utils.h 1.25 - echo "Compiling $<" 1.26 +$(BUILD_DIR)/core.o: core.c ascension/core.h ascension/datatypes.h 1.27 + @echo "Compiling $<" 1.28 $(CC) -o $@ $(CFLAGS) -c $< 1.29 1.30 +$(BUILD_DIR)/window.o: window.c ascension/window.h ascension/core.h \ 1.31 + ascension/datatypes.h 1.32 + @echo "Compiling $<" 1.33 + $(CC) -o $@ $(CFLAGS) -c $< 1.34 +