Fixed compilation of sqlite3 binary
This commit is contained in:
		
							
								
								
									
										11
									
								
								Makefile
									
									
									
									
									
								
							
							
						
						
									
										11
									
								
								Makefile
									
									
									
									
									
								
							@@ -4,11 +4,14 @@ clean:
 | 
			
		||||
		rm -rf *.o
 | 
			
		||||
		@rm -rf server
 | 
			
		||||
 | 
			
		||||
server: main.o httpd.o
 | 
			
		||||
		gcc -o server $^ -lssl -lcrypto -lsqlite3 -I.
 | 
			
		||||
server: main.o httpd.o sqlite3.o
 | 
			
		||||
        gcc -o server $^ -lssl -lcrypto -I.
 | 
			
		||||
 | 
			
		||||
main.o: main.c httpd.h
 | 
			
		||||
		gcc -c -o main.o main.c -lssl -lcrypto -sqlite3 -I.
 | 
			
		||||
sqlite3.o: sqlite3.c
 | 
			
		||||
        gcc -c -o sqlite3.o sqlite3.c
 | 
			
		||||
 | 
			
		||||
main.o: main.c httpd.h sqlite3.h
 | 
			
		||||
        gcc -c -o main.o main.c -lssl -lcrypto -I.
 | 
			
		||||
 | 
			
		||||
httpd.o: httpd.c httpd.h
 | 
			
		||||
		gcc -c -o httpd.o httpd.c
 | 
			
		||||
		Reference in New Issue
	
	Block a user