- CC=arm-linux-uclibc-gcc
- STRIP=arm-linux-uclibc-strip
- STRIP=echo
-
- CFLAGS=-Wall -Os -pipe -mtune=arm9tdmi -march=armv5te -mabi=apcs-gnu -msoft-float -I../liblicks/include
- CFLAGS="-I../liblicks/include"
-
- OBJS=main.o ../liblicks/liblicks.a
- BIN=udpproxy
-
- $(BIN): $(OBJS)
- $(CC) $(OBJS) -o $(BIN) -lm
- $(STRIP) $(BIN)
-
- ../liblicks/liblicks.a:
- make -C ../liblicks/ liblicks.a
-
- ../liblicks/liblicks-fakespi.a:
- make -C ../liblicks/ liblicks-fakespi.a
-
-
- clean:
- rm -f *.o *~ $(BIN)
- make -C ../liblicks/ clean
|