use extension on binaries

This commit is contained in:
sam 2024-05-05 18:52:40 +12:00
parent 2d96b757c2
commit 49571e72be
3 changed files with 2 additions and 2 deletions

View file

@ -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:

View file

Before

Width:  |  Height:  |  Size: 123 KiB

After

Width:  |  Height:  |  Size: 123 KiB

Binary file not shown.