Makefile

changeset 66
1b12cf799fee
parent 55
bf54085ce341
child 67
5da2cb5aea6b
     1.1 --- a/Makefile	Thu Nov 10 18:44:48 2016 +0100
     1.2 +++ b/Makefile	Mon Apr 24 20:54:38 2023 +0200
     1.3 @@ -34,25 +34,17 @@
     1.4  SRC  = frontend.c
     1.5  SRC += c2html.c
     1.6  SRC += highlighter.c
     1.7 -SRC += ucx/allocator.c
     1.8 -SRC += ucx/buffer.c
     1.9 -SRC += ucx/list.c
    1.10 -SRC += ucx/string.c
    1.11 -SRC += ucx/utils.c
    1.12  
    1.13  OBJ = $(SRC:%.c=build/%$(OBJ_EXT))
    1.14  
    1.15 -all: build/ucx build/$(BIN)
    1.16 +all: build build/$(BIN)
    1.17  	
    1.18  build/$(BIN): $(OBJ)
    1.19  	$(LD) -o $@ $^ $(LDFLAGS)
    1.20  	
    1.21  build/%$(OBJ_EXT): src/%.c
    1.22  	$(CC) -o $@ $(CFLAGS) -c $<
    1.23 -	
    1.24 -build/ucx: build
    1.25 -	$(MKDIR) $@
    1.26 -	
    1.27 +
    1.28  build:
    1.29  	$(MKDIR) $@
    1.30  	
    1.31 @@ -65,12 +57,10 @@
    1.32  	-H test/header.html -F test/footer.html
    1.33  	./build/$(BIN) -p test/plain.csp -o build/plain.html \
    1.34  	-H test/header.html -F test/footer.html
    1.35 -	
    1.36 -test-v2-regression: test
    1.37 -	diff build/ctest.html test/v2-regression/ctest.html && \
    1.38 -	diff build/javatest.html test/v2-regression/javatest.html && \
    1.39 -	diff build/bigtest.html test/v2-regression/bigtest.html && \
    1.40 -	diff build/plain.html test/v2-regression/plain.html
    1.41 +	diff build/ctest.html test/gs/ctest.html && \
    1.42 +	diff build/javatest.html test/gs/javatest.html && \
    1.43 +	diff build/bigtest.html test/gs/bigtest.html && \
    1.44 +	diff build/plain.html test/gs/plain.html
    1.45  	
    1.46  clean:
    1.47  	$(RM) $(RMFLAGS) build

mercurial