2011-06-26 11:52:02 +00:00
|
|
|
CC = gcc
|
2011-08-02 18:27:07 +00:00
|
|
|
CFLAGS = -Wall -O2 -std=c99 -DSAFE
|
|
|
|
EXE = xxtea
|
|
|
|
FILES = main.c xxtea.c
|
|
|
|
OBJS = main.o xxtea.o
|
2011-06-26 11:52:02 +00:00
|
|
|
|
2011-08-02 18:27:07 +00:00
|
|
|
TESTFILE= test.out
|
2011-06-26 11:52:02 +00:00
|
|
|
|
2011-08-02 18:27:07 +00:00
|
|
|
all: $(FILES)
|
|
|
|
$(CC) $(CFLAGS) $(FILES) -o $(EXE)
|
2011-06-26 11:52:02 +00:00
|
|
|
|
|
|
|
clean:
|
2011-08-02 18:27:07 +00:00
|
|
|
rm -f $(EXE) $(OBJS)
|