X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=Makefile;h=3a8dd2d3d20ffa4f0c05ae8c031903868a2987d8;hb=HEAD;hp=4fe3306c2ee0f49734ad58f7de26a84e9a8ea3e9;hpb=198a1649dcb74c973706066d37bb955c139232b1;p=warm.git diff --git a/Makefile b/Makefile index 4fe3306..3a8dd2d 100644 --- a/Makefile +++ b/Makefile @@ -1,10 +1,10 @@ CC = $(CROSS_COMPILE)gcc AR = $(CROSS_COMPILE)ar -CFLAGS += -Wall +CFLAGS += -Wall -O2 WARM_A = libwarm.a WARM_SO = libwarm.so -OBJS = warm.o sys_cacheflush.o +OBJS = warm.o all: $(WARM_A) $(WARM_SO) test @@ -14,8 +14,8 @@ $(WARM_A): $(OBJS) $(WARM_SO): $(OBJS) $(CC) $(CFLAGS) $^ -o $@ -shared -test: test.o - $(CC) $(CFLAGS) $^ -o $@ libwarm.a +test: test.o $(WARM_A) + $(CC) $(CFLAGS) $^ -o $@ clean: $(RM) $(WARM_A) $(WARM_SO) $(OBJS) test test.o