all: reaper reaperc reapernsl STRIP?=strip reaper: reaper.asm fasm $^ -s $@.fas $@ chmod a+x $@ reaper.map: reaper ./fas2txt.lsp $@.fas > $@.map reaperc: reaper.c $(CC) -O3 -flto -o $@ $^ $(STRIP) $@ reapernsl: reaper_nsl.c #$(CC) -O3 -flto -nostdlib -static -fdata-sections -ffunction-sections -o $@ $^ -Wl,--gc-sections -Wl,--strip-all -Wl,--build-id=none $(CC) -O3 -flto -nostdlib -static -o $@ $^ -Wl,--build-id=none $(STRIP) --remove-section=.comment $@ clean: rm -f reaper reaperc reaper.fas reaper.map reapernsl