Makefile avec la bibliothèque SDL.

This commit is contained in:
Georges Dupéron 2010-09-26 00:53:38 +02:00
parent ad2e2682c2
commit 95152ddccb

15
Makefile Normal file
View File

@ -0,0 +1,15 @@
CC=gcc
CFLAGS=
LD=gcc
LDFLAGS=-lSDL
# -lSDL_mixer
EXEC=lew
SOURCES=main.c
OBJECTS=$(SOURCES:.c=.o)
$(EXEC): $(OBJECTS)
$(LD) $(LDFLAGS) $< -o $@
.o:
$(CC) $(CFLAGS) $< -o $@