Skip to content

Commit

Permalink
make now REALLY works in one shot
Browse files Browse the repository at this point in the history
  • Loading branch information
daTokenizer committed Nov 23, 2016
1 parent 286f289 commit f63c273
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,16 @@ endif
CFLAGS = -I$(RM_INCLUDE_DIR) -Wall -g -fPIC -lc -lm -O3 -std=gnu99
CC=gcc

all: module.so rmutil
all: rmutil module.so

rmutil:
rmutil: FORCE
$(MAKE) -C $(RMUTIL_LIBDIR)

module.so: module.o
$(LD) -o $@ module.o $(SHOBJ_LDFLAGS) $(LIBS) -L$(RMUTIL_LIBDIR) -lrmutil -lc

clean:
clean: FORCE
rm -rf *.xo *.so *.o
rm -rf ./$(RMUTIL_LIBDIR)/*.so ./$(RMUTIL_LIBDIR)/*.o
rm -rf ./$(RMUTIL_LIBDIR)/*.so ./$(RMUTIL_LIBDIR)/*.o ./$(RMUTIL_LIBDIR)/*.a

FORCE:

0 comments on commit f63c273

Please sign in to comment.