This repository has been archived on 2026-05-18. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files

23 lines
347 B
Makefile
Raw Permalink Normal View History

2026-05-18 12:33:52 -04:00
SRC = main.cpp
OBJ = main.o
CC = gcc
CXX = g++
LD = $(CXX)
CFLAGS = -g -g2 -p -pg -ggdb -c `sdl-config --cflags`
LDFLAGS = -g -g2 -pg -ggdb -lSDL -lX11 -lGL -lGLU `sdl-config --libs`
TARGET = glparticletest
all : $(OBJ)
$(LD) $(LDFLAGS) -o $(TARGET) $(OBJ)
%.o : %.cpp
$(CXX) $(CFLAGS) -o $@ $<
.PHONY : clean
clean:
rm *.o
rm $(TARGET)