17 lines
250 B
Makefile
17 lines
250 B
Makefile
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)
|