summaryrefslogblamecommitdiff
path: root/src/login_sql/Makefile
blob: 933acc0eeba6d9d02b542e15392dd19498f06c41 (plain) (tree)
1
2
3
4
5
6
7
8
9
10



                     

                                                                                                                                                                             
 
                                                 

                                                    
 
                                              
                              



                                        
all: login-server_sql
sql: login-server_sql

shared_libs=all
COMMON_OBJ = ../common/core.o ../common/socket.o ../common/timer.o ../common/db.o ../common/malloc.o ../common/showmsg.o ../common/strlib.o
COMMON_H = ../common/core.h ../common/socket.h ../common/timer.h ../common/mmo.h ../common/version.h ../common/db.h ../common/malloc.h ../common/showmsg.h ../common/strlib.h

login-server_sql: login.o md5calc.o $(COMMON_OBJ)
	$(CC) -o ../../$@-$(SVN_VERSION) $^ $(LIB_S)
	cp ../../$@-$(SVN_VERSION) ../../$@

login.o: login.c login.h md5calc.h $(COMMON_H)
md5calc.o: md5calc.c md5calc.h

clean:
	rm -f *.o ../../login-server_sql