spl

a Simple Programming Language
Log | Files | Refs

Makefile (278B)


      1 CFLAGS	 = -ggdb -pedantic #-fsanitize=address
      2 CPPFLAGS = -D_POSIX_C_SOURCE -D_XOPEN_SOURCE=500
      3 LDFLAGS	 = #-fsanitize=address
      4 
      5 SRC  = array.c
      6 OBJ  = ${SRC:.c=.o}
      7 
      8 *.test: ${OBJ}
      9 	cc arraytest.c array.o -o array.test
     10 
     11 .c.o: 
     12 	${CC} -c ${CFLAGS} $<
     13 
     14 clean:
     15 	rm -rf ${OBJ} *.test
     16