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
glparticlesystem/Makefile

23 lines
347 B
Makefile
Executable File

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)