Merge branch 'add-makefile' of 6543/S_New4 into master

This commit is contained in:
6543 2019-09-02 12:44:17 +00:00 committed by Gitea
commit 259d09bd91
2 changed files with 11 additions and 1 deletions

2
.gitignore vendored
View File

@ -23,7 +23,7 @@ tags
.DS_Store
.directory
*.debug
Makefile*
Makefile?*
*.prl
*.app
moc_*.cpp

10
Makefile Normal file
View File

@ -0,0 +1,10 @@
CC=g++
LIBS=-lcurl -lpthread

S_New4: *.h *.cpp
$(CC) -o $@ $^ $(CFLAGS) $(LIBS)

.PHONY: clean

clean:
rm -f S_New4