mirror of
https://codeberg.org/grunfink/snac2.git
synced 2024-11-25 06:25:04 +00:00
More dummy files.
This commit is contained in:
parent
67288a763b
commit
de917a07d2
3 changed files with 37 additions and 0 deletions
15
Makefile
Normal file
15
Makefile
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
CFLAGS=-g -Wall
|
||||||
|
|
||||||
|
all: snac
|
||||||
|
|
||||||
|
snac: snac.o
|
||||||
|
$(CC) -L/usr/local/lib *.o -lcurl -lcrypto -o $@
|
||||||
|
|
||||||
|
.c.o:
|
||||||
|
$(CC) $(CFLAGS) -I/usr/local/include -c $<
|
||||||
|
|
||||||
|
snac.o: snac.c snac.h \
|
||||||
|
xs.h xs_io.h xs_encdec.h xs_json.h xs_curl.h xs_openssl.h xs_socket.h xs_httpd.h
|
||||||
|
|
||||||
|
clean:
|
||||||
|
rm -rf *.o *.core snac
|
20
snac.c
Normal file
20
snac.c
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
/* copyright (c) 2022 grunfink - MIT license */
|
||||||
|
|
||||||
|
#define XS_IMPLEMENTATION
|
||||||
|
|
||||||
|
#include "xs.h"
|
||||||
|
#include "xs_io.h"
|
||||||
|
#include "xs_encdec.h"
|
||||||
|
#include "xs_json.h"
|
||||||
|
#include "xs_curl.h"
|
||||||
|
#include "xs_openssl.h"
|
||||||
|
#include "xs_socket.h"
|
||||||
|
#include "xs_httpd.h"
|
||||||
|
|
||||||
|
#include "snac.h"
|
||||||
|
|
||||||
|
|
||||||
|
int main(int argc, char *argv[])
|
||||||
|
{
|
||||||
|
return 0;
|
||||||
|
}
|
2
snac.h
Normal file
2
snac.h
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
/* copyright (c) 2022 grunfink - MIT license */
|
||||||
|
|
Loading…
Reference in a new issue