$NetBSD: patch-aa,v 1.3 2009/03/26 17:14:32 joerg Exp $ --- Makefile.orig 2008-10-01 19:15:41.000000000 +0200 +++ Makefile @@ -80,14 +80,10 @@ LIBS = #STAND_ALONE = -DSTAND_ALONE -ifdef STAND_ALONE - FINAL_STEP = $(CC) $(LDFLAGS) -o ucpp $(COBJ) $(LIBS) -endif - # ----- nothing should be changed below this line ----- COBJ = mem.o nhash.o cpp.o lexer.o assert.o macro.o eval.o -CFLAGS = $(FLAGS) $(STAND_ALONE) +CFLAGS = $(FLAGS) -DSTAND_ALONE all: ucpp @ar cq libucpp.a *.o @@ -96,7 +92,7 @@ clean: @rm -f *.o ucpp core *.a ucpp: $(COBJ) - @$(FINAL_STEP) + $(CC) $(LDFLAGS) -o ucpp $(COBJ) $(LIBS) assert.o: tune.h ucppi.h cpp.h nhash.h mem.h @$(CC) $(CFLAGS) -c assert.c