First stab at autogen.sh
This commit is contained in:
		
							
								
								
									
										5
									
								
								Makefile
									
									
									
									
									
								
							
							
						
						
									
										5
									
								
								Makefile
									
									
									
									
									
								
							@@ -14,10 +14,11 @@ SRCDIR  = src
 | 
			
		||||
INCDIR  = include
 | 
			
		||||
OBJDIR  = build
 | 
			
		||||
LIBDIR  = libs
 | 
			
		||||
TESTDIR = tests
 | 
			
		||||
BINDIR  = .
 | 
			
		||||
 | 
			
		||||
SRCS     := $(shell find -L $(SRCDIR) $(LIBDIR) -type f -name '*.c' | egrep -v 'deps/|build/' )
 | 
			
		||||
INCS     := $(shell find -L $(SRCDIR) $(LIBDIR) $(INCDIR) -type d -name 'include'| egrep -v 'deps/|build/' )
 | 
			
		||||
SRCS     := $(shell find -L $(SRCDIR) $(LIBDIR) $(TESTDIR) -type f -name '*.c' | egrep -v 'deps/|build/' )
 | 
			
		||||
INCS     := $(shell find -L $(SRCDIR) $(LIBDIR) $(TESTDIR) $(INCDIR) -type d -name 'include'| egrep -v 'deps/|build/' )
 | 
			
		||||
INCFLAGS := $(patsubst %,-I %, $(INCS))
 | 
			
		||||
OBJS     := $(patsubst %.c, build/%.o, $(SRCS))
 | 
			
		||||
RM       = rm -f
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user