--- a/Makefile Thu Nov 10 18:44:48 2016 +0100 +++ b/Makefile Mon Apr 24 20:54:38 2023 +0200 @@ -34,25 +34,17 @@ SRC = frontend.c SRC += c2html.c SRC += highlighter.c -SRC += ucx/allocator.c -SRC += ucx/buffer.c -SRC += ucx/list.c -SRC += ucx/string.c -SRC += ucx/utils.c OBJ = $(SRC:%.c=build/%$(OBJ_EXT)) -all: build/ucx build/$(BIN) +all: build build/$(BIN) build/$(BIN): $(OBJ) $(LD) -o $@ $^ $(LDFLAGS) build/%$(OBJ_EXT): src/%.c $(CC) -o $@ $(CFLAGS) -c $< - -build/ucx: build - $(MKDIR) $@ - + build: $(MKDIR) $@ @@ -65,12 +57,10 @@ -H test/header.html -F test/footer.html ./build/$(BIN) -p test/plain.csp -o build/plain.html \ -H test/header.html -F test/footer.html - -test-v2-regression: test - diff build/ctest.html test/v2-regression/ctest.html && \ - diff build/javatest.html test/v2-regression/javatest.html && \ - diff build/bigtest.html test/v2-regression/bigtest.html && \ - diff build/plain.html test/v2-regression/plain.html + diff build/ctest.html test/gs/ctest.html && \ + diff build/javatest.html test/gs/javatest.html && \ + diff build/bigtest.html test/gs/bigtest.html && \ + diff build/plain.html test/gs/plain.html clean: $(RM) $(RMFLAGS) build