oops
This commit is contained in:
parent
36e07578a7
commit
90b48d18eb
7
Makefile
7
Makefile
|
@ -17,7 +17,6 @@ EXAMPLEC=
|
||||||
ifeq ($(GDCCBUILD),ON)
|
ifeq ($(GDCCBUILD),ON)
|
||||||
CC+=gdcc-cc
|
CC+=gdcc-cc
|
||||||
LD+=gdcc-ld
|
LD+=gdcc-ld
|
||||||
MKDIR+=mkdir
|
|
||||||
LIBNAME+=$(OUTDIR)/LoveToken.bin
|
LIBNAME+=$(OUTDIR)/LoveToken.bin
|
||||||
PCFLAGS+=--bc-target=ZDoom -i$(SRCDIR)
|
PCFLAGS+=--bc-target=ZDoom -i$(SRCDIR)
|
||||||
LFLAGS+=--bc-target=ZDoom
|
LFLAGS+=--bc-target=ZDoom
|
||||||
|
@ -46,11 +45,13 @@ else
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
all:
|
all: $(OUTDIR)
|
||||||
$(MKDIR) $(OUTDIR)
|
|
||||||
$(CC) $(CFLAGS) $(PCFLAGS) -o $(OUTDIR)/lt.o $(SRCDIR)/lt.c
|
$(CC) $(CFLAGS) $(PCFLAGS) -o $(OUTDIR)/lt.o $(SRCDIR)/lt.c
|
||||||
$(LD) $(LFLAGS) $(PLFLAGS) -o $(LIBNAME) $(OUTDIR)/lt.o $(PLFLAGS2)
|
$(LD) $(LFLAGS) $(PLFLAGS) -o $(LIBNAME) $(OUTDIR)/lt.o $(PLFLAGS2)
|
||||||
|
|
||||||
|
bin:
|
||||||
|
$(MKDIR) $(OUTDIR)
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
$(RM) $(LIBNAME) $(OUTDIR)/lt.o $(RMEXTRA)
|
$(RM) $(LIBNAME) $(OUTDIR)/lt.o $(RMEXTRA)
|
||||||
|
|
||||||
|
|
Reference in New Issue
Block a user