Initial commit

This commit is contained in:
Kranklyboy 2018-04-16 17:37:31 +02:00
commit 59f2a246b9
3 changed files with 40 additions and 0 deletions

11
.gitignore vendored Normal file
View File

@ -0,0 +1,11 @@
websh
*.o
*.json
*.sh
.vimrc
*.gch
Doxyfile
html/
latex/
*.tgz
*.pdf

16
Makefile Normal file
View File

@ -0,0 +1,16 @@
CC = gcc
CFLAGS = -std=c99 -pedantic -Wall -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_POSIX_C_SOURCE=200809L -g -c
all: server client
server: server.o common.h
$(CC) $^ -o $@
client: client.o common.h
$(CC) $^ -o $@
%.o: %.c
$(CC) $(CFLAGS) $^
.PHONY clean:
rm -f common.h.ghc client.o server.o client server

13
websh.c Normal file
View File

@ -0,0 +1,13 @@
/**
* @file websh.c
* @author Tobias Eidelpes <e01527193@student.tuwien.ac.at>
* @date 2018-04-16
*
* @brief Formats program output for the web.
*/
int main(int argc, char *argv[])
{
return 0;
}