use extension on binaries
This commit is contained in:
parent
2d96b757c2
commit
49571e72be
|
@ -4,11 +4,11 @@ CFLAGS = -O3 -I../include
|
|||
LDFLAGS = -L ../ -lglfw -lgearlib -lm
|
||||
|
||||
CFILES=$(shell find -L * -type f -name '*.c')
|
||||
BINARIES=$(CFILES:.c=)
|
||||
BINARIES=$(CFILES:.c=.exe)
|
||||
|
||||
all: $(BINARIES)
|
||||
|
||||
%: %.c
|
||||
%.exe: %.c
|
||||
$(CC) $< -o $@ $(CFLAGS) $(LDFLAGS)
|
||||
|
||||
clean:
|
||||
|
|
Before Width: | Height: | Size: 123 KiB After Width: | Height: | Size: 123 KiB |
BIN
examples/test
BIN
examples/test
Binary file not shown.
Loading…
Reference in a new issue