editor/bass-sys/win/bass24/c/makefile.in
2021-01-07 21:37:50 -06:00

17 lines
294 B
Makefile

FLAGS = -Os -I.. -L..
LIBS = -lbass
OUTDIR = ..\bin
CC = gcc
RM = del
RES = windres
%.exe: %.c %.rc
$(RES) -i $*.rc -o rsrc.obj
$(CC) $(FLAGS) $*.c rsrc.obj $(LIBS) -o $(OUTDIR)\$@
$(RM) rsrc.obj
%.exe: %.c
$(CC) $(FLAGS) $*.c $(LIBS) -o $(OUTDIR)\$@
.PHONY: all clean