initial commit, pthread support missing

git-svn-id: svn://anubis/misc/newton@17 bd8a9e45-a331-0410-811e-c64571078777
This commit is contained in:
josh committed 2007-11-29 03:48:43 +00:00
1 parent 64424e7653
commit b66b6aee38
4 files changed
+328

No files matched your search

+17
View File
@@ -0,0 +1,17 @@
CC := gcc
TARGET := newton
OBJS := complex.o newton.o
CFLAGS := -O2 `sdl-config --cflags`
LDFLAGS := `sdl-config --libs`
all: $(TARGET)
$(TARGET): $(OBJS)
$(CC) -o $@ $^ $(LDFLAGS)
%.o: %.c
$(CC) -o $@ -c $^ $(CFLAGS)
clean:
-rm -f $(TARGET) $(OBJS) *~