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 (415B)


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