makefile update (readtex, showbuffer)
This commit is contained in:
parent
e61c8a5c63
commit
fc4cabbfa8
|
@ -49,8 +49,9 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
.PHONY : all
|
.PHONY: all
|
||||||
.SUFFIXES : .c .o .exe
|
.SUFFIXES: .c .o .exe
|
||||||
|
.SECONDARY: ../util/readtex.o ../util/showbuffer.o
|
||||||
|
|
||||||
TOP = ../..
|
TOP = ../..
|
||||||
CPU ?= pentium
|
CPU ?= pentium
|
||||||
|
@ -80,8 +81,8 @@ endif
|
||||||
|
|
||||||
.c.o:
|
.c.o:
|
||||||
$(CC) -o $@ $(CFLAGS) -c $<
|
$(CC) -o $@ $(CFLAGS) -c $<
|
||||||
.o.exe:
|
%.exe: ../util/readtex.o ../util/showbuffer.o %.o
|
||||||
$(LD) -o $@ $(LDFLAGS) $< $(LDLIBS)
|
$(LD) -o $@ $(LDFLAGS) $^ $(LDLIBS)
|
||||||
|
|
||||||
all:
|
all:
|
||||||
$(error Must specify <filename.exe> to build)
|
$(error Must specify <filename.exe> to build)
|
||||||
|
|
|
@ -40,8 +40,9 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
.PHONY : all
|
.PHONY: all
|
||||||
.SUFFIXES : .c .o .exe
|
.SUFFIXES: .c .o .exe
|
||||||
|
.SECONDARY: ../util/readtex.o ../util/showbuffer.o
|
||||||
|
|
||||||
TOP = ../..
|
TOP = ../..
|
||||||
CPU ?= pentium
|
CPU ?= pentium
|
||||||
|
@ -63,8 +64,8 @@ LDLIBS = -lglut32 -lglu32 -lopengl32
|
||||||
|
|
||||||
.c.o:
|
.c.o:
|
||||||
$(CC) -o $@ $(CFLAGS) -c $<
|
$(CC) -o $@ $(CFLAGS) -c $<
|
||||||
.o.exe:
|
%.exe: ../util/readtex.o ../util/showbuffer.o %.o
|
||||||
$(LD) -o $@ $(LDFLAGS) $< $(LDLIBS)
|
$(LD) -o $@ $(LDFLAGS) $^ $(LDLIBS)
|
||||||
|
|
||||||
all:
|
all:
|
||||||
$(error Must specify <filename.exe> to build)
|
$(error Must specify <filename.exe> to build)
|
||||||
|
|
Loading…
Reference in New Issue