enowars5-service-stldoctor

STL-Analyzing A/D Service for ENOWARS5 in 2021
git clone https://git.sinitax.com/sinitax/enowars5-service-stldoctor
Log | Files | Refs | README | LICENSE | sfeed.txt

Makefile (393B)


      1CFLAGS = -g -I .
      2
      3CFLAGS += -fPIE -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2
      4LDFLAGS = -Wl,-z,now -Wl,-z,relro
      5
      6.PHONY: all clean
      7
      8all: build/stldoctor
      9
     10clean:
     11	rm -rf build
     12
     13build:
     14	mkdir build
     15
     16build/%.o: %.c %.h | build
     17	$(CC) -c -o $@ $< $(CFLAGS) $(LDLIBS)
     18
     19build/stldoctor: build/$(PREFIX)stlfile.o build/$(PREFIX)util.o $(PREFIX)main.c | build
     20	$(CC) -o $@ $^ $(CFLAGS) $(LDLIBS)