当前位置:Gxlcms > 数据库问题 > 用makefile文件执行sqlite3

用makefile文件执行sqlite3

时间:2021-07-01 10:21:17 帮助过:43人阅读

OBJ=test.o zhan.o  duilie.o ditu.o welcome.o init.o menu.o time.o user.o data.o                                                                   test:$(OBJ) zhan.h duilie.h ditu.h welcome.h init.h menu.h time.h user.h
        gcc $(OBJ) -lsqlite3 -o test
test.o:test.c
zhan.o:zhan.c
duilie.o:duilie.c
ditu.o::ditu.c
welcome.o:welcome.c
init.o:init.c
menu.o:menu.c
time.o:time.c
user.o:user.c
data.o:data.c

.PHONY:cleanA clean
cleanA:
    rm test $(OBJ)
clean:
    rm $(OBJ)

  

Data.txt  data.c  ditu.h    duilie.h  init.h  libso   menu.o    test.c  time.h  user.h     welcome.h  zhan.h
Makefile  data.o  ditu.o    duilie.o  init.o  menu.c  taxes.db  test.o  time.o  user.o     welcome.o  zhan.o
a.out     ditu.c  duilie.c  init.c    liba    menu.h  test      time.c  user.c  welcome.c  zhan.c

  

 

 

正是步行者,一步步登峰!

用makefile文件执行sqlite3

标签:gcc   efi   file   time   clean   sqlite3   make   uil   har   

人气教程排行