CC/nuklear/Makefile

17 lines
250 B
Makefile
Raw Normal View History

2024-01-27 23:54:37 +03:00
PROGRAM = test
CC = gcc
CFLAGS = -std=c99 -Wall -O2
CFLAGS += -I/home/user/Git/Nuklear
LDFLAGS =
LIBS = -lglfw -lGL -lm -lGLU
.PHONY: $(PROGRAM)
all: $(PROGRAM)
$(PROGRAM):
$(CC) $(CFLAGS) -o $@ main.c $(LIBS)
clean:
rm -f $(PROGRAM)