SDL_Tests

Exemplos simples para o uso da libreria grafica SDL
Log | Files | Refs | README

Makefile (246B)


      1 EXEC := test
      2 CFLAGS := -Wall
      3 LDFLAGS :=
      4 LIBS := -lSDL2 -lm
      5 CC := gcc
      6 SRCS := xanela.c
      7 OBX := $(SRCS:.c=.o)
      8 
      9 all: $(EXEC)
     10 $(EXEC): ${OBX}
     11 	$(CC) $(LDFLAGS) $^ -o $@ $(LIBS)
     12 $(OBX): ${EXEC}
     13 	$(CC) $(CFLAGS) $< -c -o $@
     14 clean:
     15 	rm -f $(EXEC) $(OBX)